﻿namespace FFF.Test.Entity.Demo.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.Demo.View;       

	/// <summary>
    /// 课程表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(DemoCourseEntity))] 
    public partial class DemoCourseDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 课程名称
        /// </summary>
		[Display(Name = "课程名称", Description = "课程名称")]
        [Column("CourseName")]
		[StringLength(256)]
        public string CourseName { get; set; }
        
    }
    
    /// <summary>
    /// 课程表新增时候的dto
    /// </summary>
	[AutoMap(typeof(DemoCourseEntity))]
    [AutoMapFrom(typeof(ViewDemoCourse))] 
    public partial class DemoCourseCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 课程名称
        /// </summary>
		[Display(Name = "课程名称", Description = "课程名称")]
        [Column("CourseName")]
		[StringLength(256)]
        public string CourseName { get; set; }
        
    }
     
     /// <summary>
    /// 课程表更新时候Dto
    /// </summary>
	[AutoMap(typeof(DemoCourseEntity))]
    [AutoMapFrom(typeof(ViewDemoCourse))] 
    public partial class DemoCourseUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 课程名称
        /// </summary>
		[Display(Name = "课程名称", Description = "课程名称")]
        [Column("CourseName")]
		[StringLength(256)]
        public string CourseName { get; set; }
        
    }
}
